import request from '@/utils/http';



/** 创建千川兑换码 */
export const createQianChuanCodeApi = (data: any): Promise<App.RequestResult> => {
  return request.post('qianchuan/addcode', data);
}
/** 兑换码列表 */
export const getQianChuanCodeListApi = (params: any): Promise<App.RequestResult> => {
  return request.get('qianchuan/getcodeList', { params });
}